package org.exp3;

public class Student {
    private int StuID;
    private String StuName;
    private String StuGender;
    private String EnrolledYear;
    private String StuPhone;
    private String StuMajor;

    public Student(int stuID, String stuName, String stuGender, String enrolledYear, String stuPhone, String stuMajor) {
        StuID = stuID;
        StuName = stuName;
        StuGender = stuGender;
        EnrolledYear = enrolledYear;
        StuPhone = stuPhone;
        StuMajor = stuMajor;
    }

    public int getStuID() {
        return StuID;
    }

    public void setStuID(int stuID) {
        StuID = stuID;
    }

    public String getStuName() {
        return StuName;
    }

    public void setStuName(String stuName) {
        StuName = stuName;
    }

    public String getStuGender() {
        return StuGender;
    }

    public void setStuGender(String stuGender) {
        StuGender = stuGender;
    }

    public String getEnrolledYear() {
        return EnrolledYear;
    }

    public void setEnrolledYear(String enrolledYear) {
        EnrolledYear = enrolledYear;
    }

    public String getStuPhone() {
        return StuPhone;
    }

    public void setStuPhone(String stuPhone) {
        StuPhone = stuPhone;
    }

    public String getStuMajor() {
        return StuMajor;
    }

    public void setStuMajor(String stuMajor) {
        StuMajor = stuMajor;
    }

    public String toString() {
        return StuName + ' '
                + StuID + ' '
                + StuGender + ' '
                + StuMajor + ' '
                + StuPhone + ' ';
    }

    public int getStuid() {
        return StuID;
    }
}
